<?php error_reporting(0) ?>
<input 
    type="hidden" 
    value="<?php echo $item->setmenu_id ?>" 
    id="setmenu_id" name="setmenu_id"
    />
<form id="_form_edit_panel" name="_form_edit_panel" 
      action="" method="POST" onsubmit="return false;"
      target="integration_asynchronous" autocomplete="off">
    <div class="widget- row-fluid">
        <div class="well form-horizontal" style="border:none">
            <div class="control-group">
                <label class="control-label">Name :</label>
                <div class="controls">
                    <input type="text" 
                           class="span12 validate[required]"
                           data-prompt-position="topLeft:-1,-5"
                           id="setmenu_name" name="setmenu_name" 
                           value="<?php echo quotes_to_entities($item->setmenu_name) ?>"
                           />
                </div>
            </div>

            <div class="control-group">
                <label class="control-label">Title :</label>
                <div class="controls">
                    <input type="text" 
                           class="span12 validate[required]"
                           data-prompt-position="topLeft:-1,-5"
                           id="setmenu_title" name="setmenu_title" 
                           value="<?php echo quotes_to_entities($item->setmenu_title) ?>"
                           />
                </div>
            </div>
			<div class="control-group">
                <label class="control-label">&nbsp;</label>
                <div class="controls">
                    <div class="span6">
                        <div>POSITION</div>
                        <input type="number" 
                               class="span12"
                               id="setmenu_position" name="setmenu_position" 
                               value="<?php echo $item->setmenu_position ?>"
                               />
                    </div>
                    <div class="span6">
                        <div>STATUS</div>
                        <select id="setmenu_status" name="setmenu_status" class=" span12">
                            <option value="true" <?php if ($item->setmenu_status != 'false') echo 'selected=1' ?>>ENABLE</option>
                            <option value="false">DISABLE</option>
                        </select>

                    </div>
                </div>
            </div>
            <div class="">

                <div class="">
                    <textarea 
                        rows="24"
                        id="setmenu_desc" name="setmenu_desc" 
                        class="span12 validate[required]"
                        data-prompt-position="topLeft:-1,-5"
                        ><?php echo ($item->setmenu_desc) ?></textarea>
                </div>
            </div>

            <input type="hidden" 
                   id="setmenu_type" name="setmenu_type" 
                   value="<?php echo!empty($item->setmenu_type) ? quotes_to_entities($item->setmenu_type) : $type ?>"
                   />

			
            <div class="control-group">
                <label class="control-label">&nbsp;</label>
                <div class="controls">
                    <div>
                        <?php if (!empty($item->setmenu_insert)) echo "Created  : $item->setmenu_insert" ?>
                    </div>
                    <div>
                        <?php if (!empty($item->setmenu_update)) echo "Modified : $item->setmenu_update" ?>
                    </div>
                </div>
            </div>

        </div>
    </div>

</form>